Summary:In server development using C + +, scripting techniques are often used, and Lua is one of the best embedded scripts. The lightweight, compact and simple concept of Lua makes him more and more popular. I have also used Python to do embedded
Source: http://www.cppblog.com/Leaf/archive/2009/05/16/83145.html
It is said that the author of this article is ogdev's hack master.
Use examples to learn about Lua (1) ---- Hello World
1. PrefaceThe scripting language is indispensable in
As an Embedded Language, Lua provides a complete c api for Lua code to interact with the host program. Of course, the host language should be C or C ++. For other languages, for example, embedding Lua in the mono environment that has been popular
Recently in the study of how to embed Lua in Windows to complete the business module authoring some problems, first Lua as a scripting language, its flexibility and scalability is very high, otherwise cocos2d-x will not embed him to write business
[Unity3D] Lua in Unity3D game development is connected to the game's (medium) and unity3dlua
Certificate ------------------------------------------------------------------------------------------------------------------------------------------------
Note: The original text was also issued in the company's internal forum
The stack that LUA interacts with C is an important concept. The article first explains why you should introduce the LUA stack, then summarizes the APIs that are commonly used
--------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------Like my blog Please remember my name: Qin Yuanpei , my blog
Application of Lua in C # project:
Lua is a small scripting language. The author is Brazilian. The language is designed to be embedded into an application and provide flexible scalability and customization for the application. Its home page is www.
First, install LUA 5.3.4Downloadhttp://www.lua.org/ftp/lua-5.3. 4 . Tar.gztar xvf Lua-5.3. 4 . TAR.GZCD Lua-5.3. 4Important: Enter the unzipped path CD .../lua-5.3.4/src open the makefile file on the Cflag line to add options-fpic like this:The line
Reprint Source: http://my.oschina.net/xhan/blog/309613Description: This document is a lua.ps file in the doc directory of Lua1.1.At the same time this document can be found here: http://www.lua.org/semish94.htmlThe original copyright belongs to the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.